var gulp = require('gulp');
var del = require('del');
var vinylPaths = require('vinyl-paths');
var config = require('../config');

gulp.task('clean', function () {
  return gulp.src([config.jsDest + '/**/*.{hbs,json,md,js}',
    '!' + config.jsDest + '/**/*-page-script.js', // Exclude
    config.cssDest + '/*']).pipe(vinylPaths(del));
});